{extend name="layout" /}
{block name="content"}
<div class="mui-content">
	<div class="uk-margin-small-bottom">
		<div class="mui-table-view line-height-xsmall">
			<div class="mui-table-view-cell mui-media no-active-bg">

				<div class="mui-table">
					<div class="mui-table-cell uk-text-middle">

						<img class="mui-pull-left uk-margin-xsmall-right" src="{$images_path}balance-icon-2.png" width="46" height="46">
						<div class="mui-media-body">
							<div class="mui-ellipsis uk-text-xsmall uk-margin-small-top">红豆余额</div>
							<div class="mui-ellipsis uk-text-warning uk-text-medium">
								{$uinfo.amount}个
							</div>
						</div>

					</div>
					<div class="mui-table-cell uk-text-middle uk-text-right uk-width-1-4">
						<div class="uk-margin-small">
							<a class="mui-btn mui-btn-warning mui-btn-outlined mui-btn-small uk-width-1-1" href="{:url('chongzhi')}">红豆充值</a>
						</div>
						<div>
							<!-- <a class="mui-btn mui-btn-warning mui-btn-outlined mui-btn-small uk-width-1-1" href="{:ban_refresh('/index/member/tixian_ali', 'blank')}">提现</a> -->
							<a class="mui-btn mui-btn-warning mui-btn-outlined mui-btn-small uk-width-1-1" href="{:ban_refresh('/index/member/tixian', 'blank')}">提现</a>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div class="mui-content">
		<div class="uk-margin-xsmall">
			<div class="tm-line-tit tm-panel">
				<span class="tm-line-tit-icon"></span><span><a href="http://coco3g-app/logout?callbackTag=callback_1488956498800">红豆动态</a></span>
			</div>
			{volist name=":get_model_func('MemberAmountLog', 'list_data', ['userid'=>$_userid, 'typeid'=>1])" id="v"}
			<div class="mui-table-view">
				<div class="mui-table-view-cell">
					<div class="mui-pull-right uk-margin-xsmall-left uk-text-right" style="margin-top: 10px;">
						<div class="uk-text-danger">{$v.statusname}</div>
					</div>
					<div class="mui-pull-right uk-margin-xsmall-left uk-text-right" style="margin-top: 10px;">
						<div class="uk-text-muted" style="">{$v.price}</div>
					</div>
					<div class="mui-media-body" style="height: 100%;">
						<div class="mui-ellipsis-2 uk-margin-small-bottom uk-text-muted">
							{$v.addtime}
						</div>
						<div class="mui-ellipsis uk-text-muted">
							{eq name="v.paytype" value="1"}
							{$v.description}
							{else/ }
							{$v.payname}
							{/eq}
						</div>
					</div>
					{eq name="v.paytype" value="-1"}
					<div style="font-size: 12px; color: red;"><span>{$v.description}</span></div>
					{/eq}
				</div>
			</div>
			{/volist}
		</div>
	</div>
</div>
{/block}
{block name="script"}
{/block}